Port the GDB-visible symbols to AIX.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 May 2014 05:31:43 +0000 (22:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 May 2014 05:31:43 +0000 (22:31 -0700)
commite56c3df59e366d656348c539379ecfc9c732117a
treec4be773457123f1ed1ab36409819536704bd98ad
parent93e2c93e14641c12b8d2c61208dbff93d6f2e1b8
Port the GDB-visible symbols to AIX.

Without them, GDB doesn't work to debug Emacs, since the AIX linker
optimizes away the relevant external symbols.  Use enums instead;
this suffices for the AIX port, which is 32-bit-only anyway.
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
New macros.
src/ChangeLog
src/lisp.h